<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: zzf
  Date: 2021/1/8
  Time: 14:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
</head>
<body>
<div class="card bg-secondary text-white"><br><br>
<h1><p class="text-info">添加葫芦娃</p></h1>
</div>
<hr/>
<div class="container">
    <form action="${pageContext.request.contextPath}/gb" method="post">
        <div class="form-group">
        葫芦娃姓名：<input type="text" name="name" /><br/>
        </div>
        <div class="form-group">
        葫芦娃技能：<input type="text" name="gbDescribe" /><br/>
        </div>
        特征：
        <select name="color">
            <c:forEach items="${requestScope.colorList}" var="color">
                <option value="${color}">${color}</option>
            </c:forEach>
        </select>
        <br><br>
        <button type="submit" class="btn btn-primary">保存</button>
    </form>
</div>
</body>
</html>
